package com.ctshk.rpc.order.season.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author  杨林
 * @date  2021/3/24 18:28
 * @version 1.0
 */
@Data
@ApiModel(value="SeasonProductOrderTrainDTO对象", description="套票订单 火车票信息")
public class SeasonProductOrderTrainDTO implements Serializable {


    @ApiModelProperty(value = "关联t_season_order 表id 表id")
    private Long seasonOrderId;

    @ApiModelProperty(value = "单项订单id(打包下单成功后根据每个单项订单返回的id存储)")
    private Long orderId;

    @ApiModelProperty(value = "该产品Id")
    private Long productId;

    @ApiModelProperty(value = "行程类型(depart：出发，return：回程)")
    private String tripType;

    @ApiModelProperty(value = "车次")
    private String trainNumber;



    @ApiModelProperty(value = "座位级别(1 硬座，2 软座，3 一等座，4 二等座，5 商务座，6 卧铺)")
    private String cabinClass;

    @ApiModelProperty(value = "出发站id")
    private Long depStationId;

    @ApiModelProperty(value = "出发站名称")
    private String depStationName;

    @ApiModelProperty(value = "终点站id")
    private Long arrStationId;

    @ApiModelProperty(value = "终点站名称")
    private String arrStationName;

    @ApiModelProperty(value = "出发时间")
    private LocalDateTime depTime;


    @ApiModelProperty(value = "供应商id")
    private Long supplierId;

    @ApiModelProperty(value = "供应商名称")
    private String supplierName;

    @ApiModelProperty(value = "产品价格")
    private BigDecimal productPrice;

    @ApiModelProperty(value = "成人数")
    private int adult;
    @ApiModelProperty(value = "小孩数")
    private int child;
}